<?php

/**
 * Html form for user login
 *
 * @file
 * @ingroup Templates
 */
/**
 * @defgroup Templates Templates
 */
if (!defined('MEDIAWIKI'))
    die(-1);

/**
 * HTML template for Special:Userlogin form
 * @ingroup Templates
 */
class TemplateUserFriendsAjout extends QuickTemplate {
    
    /**
     *
     * @var type 
     */
    private $user;
    private $rows;
    private $nom;
    
    /**
     *
     * @param type $user
     * @param type $rows 
     */
    function __construct($user, $rows) {
        parent::__construct();
        $this->user = $user;
        $this->rows = $rows;
        $data=array();
    }
    
    /**
     * 
     * @param type $nom 
     */
    public function setNom($nom){
        $this->nom = $nom;
    }
    
    function execute() {
        
        echo "<h4>Utilisateur bien ajouté.</h4><br/>";
        
        ?>
        <a href="http://www.solidaritychain.com.dev/index.php/Accueil">Retour à l'accueil</a>
        <?php
    }
}
